/**
 *
 * Copyright Pact Lab of H.I.T.
 *
 * Designed and Implemented by Grid Researching Group, 
 * Pact Lab, Harbin
 * 
 * This Project is part of the national 973 Project:
 * Internet Based Virtual Computing Environment
 *
 * http://pact518.hit.edu.cn
 * 
 * Author:       Meteor <meteorlxk@gmail.com> 
 * Copyright:    pact518 
 * Version:      1.0
 * Created:      2009-5-6 
 * LastModified: 2009-5-6
 */
package edu.hit.pact.pgse.crawler.store;

import java.net.URL;

import edu.hit.pact.pgse.bean.RawWebPage;

/**
 * @author meteorlxk
 *
 */
public interface WebPageStore {

	public RawWebPage loadWebPage(URL url);
	
	public boolean deleteWebPage(URL url);
	
	public boolean storeWebPage(RawWebPage property);
	public boolean storeWebPage(RawWebPage property,String subitem);
	//public boolean storeWebPage(RawWebPage property,String subitem,String pageno) ;
	public boolean storeWebPage(RawWebPage property,String subitem,String pageno,boolean isOnlyText) ;
}
